<?php /* Smarty version 2.6.20, created on 2013-05-27 05:17:55
         compiled from _core/_include/module/_mvc/view/dialogordertype.tpl */ ?>
function DialogOrderType(container, item, options) {
  this._container = container;
  this._item = item;
  this._options = options;
  
  this._createElements();
};

DialogOrderType.prototype._createElements = function() {
  var gui, select, img, table, tr, td, _self = this, unique = MiscUtils.unique();
  
  table = document.createElement('table');
  table.style.width = '350px';
  table.style.height = '30px';
  table.cellPadding = 0;
  table.cellSpacing = 0;
  this._container.appendChild(table);
  
  tr = table.insertRow(-1);
  td = tr.insertCell(-1);
  td.style.width = '100px';
  td.style.height = '20px';
  td.style.textAlign = 'center';
  td.style.verticalAlign = 'middle';
  td.style.fontSize = '110%';
  td.style.fontWeight = 'bold';
  td.style.color = ' #694247';
  td.appendChild(document.createTextNode('Order Type'));
  
  
  td = tr.insertCell(-1);
  td.style.width = '250px';
  td.style.height = '20px';
  td.style.textAlign = 'left';
  td.style.verticalAlign = 'middle';
  select = document.createElement('select');
  select.id =  unique + '_orderType_select';
  select.style.width = '200px';
  td.appendChild(select);
  
  gui = GuiDialogOrderType.instance(unique);
  new HandleDialogOrderType(gui, this._item, this._options);
};